﻿using AutoWiring.Common;
namespace AutoWiring.Model
{
    /// <summary>
    /// 电缆联系表保存数据
    /// </summary>
    public class CableContactItemSave
    {
        /// <summary>
        /// 序号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 电缆起点
        /// </summary>
        public string cableStart { get; set; }
        /// <summary>
        /// 电缆编号
        /// </summary>
        public string cableNumber { get; set; }
        /// <summary>
        /// 电缆终点
        /// </summary>
        public string cableEnd { get; set; }
        /// <summary>
        /// 电缆规格
        /// </summary>
        public string cableType { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string cableUnit { get; set; }
        /// <summary>
        /// 长度
        /// </summary>
        public string cableLength { get; set; }
        /// <summary>
        /// 变压器ID
        /// </summary>
        public string BYQConnItemList { get; set; }
        /// <summary>
        /// 预留槽点集合
        /// </summary>
        public string YLCxyzList { get; set; }
        /// <summary>
        /// 支架相关点集合
        /// </summary>
        public string ZJxyzList { get; set; }
        /// <summary>
        /// 支架相关信息
        /// </summary>
        public Dictionary<string ,List<XYZ>> ZJxyzDict { get; set; }
        
        /// <summary>
        /// 机柜ID
        /// </summary>
        public string JGConnItemList { get; set; }


    }
    /// <summary>
    /// 公共配置类
    /// </summary>
    public class CommonConfig
    {
        /// <summary>
        /// 主干道宽度
        /// </summary>
        public string MainWidth { get; set; }
        /// <summary>
        /// 主干道宽度
        /// </summary>
        public string JXMainWidth { get; set; }
        /// <summary>
        /// 主干道宽度
        /// </summary>
        public string KXMainWidth { get; set; }
        /// <summary>
        /// 线缆直径
        /// </summary>
        public string Diameter { get; set; }
        /// <summary>
        /// 支架底部高程
        /// </summary>
        public string CSBottomHeight { get; set; }
        /// <summary>
        /// 支架层间距
        /// </summary>
        public string CSLayerSpace { get; set; }
        /// <summary>
        /// 机柜支架底部高程
        /// </summary>
        public string JSBottomHeight { get; set; }
        /// <summary>
        /// 机柜支架层间距
        /// </summary>
        public string JSLayerSpace { get; set; }


    }

    /// <summary>
    /// 整体保存数据
    /// </summary>
    public class SaveConfig
    {
        public string FileName {  get; set; }

        public CommonConfig CommonConfig { get; set; }
        public List<CableContactItemSave> ccisList { get; set; }
    }
    /// <summary>
    /// 连接件保存数据
    /// </summary>
    public class ConnectorItem
    {
        public XYZ XYZ { get; set; }
        public string TFCode { get; set; }


    }
}
